function [ber] = calc_ber (input, reference)
% Function for BER Calculation.

[number ber] = biterr(input, reference);